From 2af262a30bb4ea5f28e70a56a05905323013f8a7 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 6 Aug 2018 14:42:20 +0200 Subject: [PATCH] print tail of log if fail --- debian/.gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml index 30e608c3..22a021b5 100644 --- a/debian/.gitlab-ci.yml +++ b/debian/.gitlab-ci.yml @@ -11,6 +11,5 @@ build: - git checkout master - git pull # silence build to not exceed build log size of gitlab-ci - - gbp buildpackage -uc -us 2>&1 >../build.log - - tail -n 100 ../build.log + - gbp buildpackage -uc -us 2>&1 >../build.log || tail -n 100 ../build.log -- 2.30.2